package com.framework.spring.mybatis.service.impl;

import com.framework.spring.mybatis.dao.AMapper;
import com.framework.spring.mybatis.service.AService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AServiceImpl implements AService {

	@Autowired
	private AMapper aMapper;

	@Override
	public List<Map<String, Object>> findList() {
		return aMapper.findList();
	}

	@Override
	public Map<String, Object> get(Integer id) {
		return aMapper.get(id);
	}
}
